package com.example.eureka.service.impl;

import com.example.eureka.service.FourWheeler;
import com.example.eureka.service.Vehicle;
import org.springframework.stereotype.Service;

@Service
class Car implements Vehicle, FourWheeler {
   public void print(){
      Vehicle.super.print();
      FourWheeler.super.print();
      Vehicle.blowHorn();
      System.out.println("我是一辆汽车!");
   }
}